<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript">
</script>
<form id="addForm" action="${BASE_PATH}/spike/doAdd" method="post" class="form-horizontal">
	<div class="form-group">
	    <label class="col-lg-2 control-label">秒杀时间段名称</label>
	    <div class="col-lg-9">
        	<input type="text" name="time_line" value="${object.time_line}" class="form-control" placeholder="请输入秒杀时间段名称" required maxlength="50">
	    </div>
	</div>
	<div class="form-group">
	    <label class="col-lg-2 control-label">每日开始时间</label>
	    <div class="col-lg-9">
        	<input type="datetime" name="begin" value="${object.begin}" class="form-control" placeholder="请输入每日开始时间" required maxlength="100">
	    </div>
	</div>
	<div class="form-group">
	    <label class="col-lg-2 control-label">每日结束时间</label>
	    <div class="col-lg-9">
        	<input type="datetime" name="end" value="${object.end}" class="form-control" placeholder="请输入每日结束时间" required maxlength="100">
	    </div>
	</div>
	<div class="form-group">
	    <label class="col-lg-2 control-label">是否启用</label>
	    <div class="col-lg-9">
        	<%-- <input type="radio" name="state" value="${object.state}" class="form-control"  required maxlength="100"> --%>
        	<select name="state" class="selectpicker ">
				<option value="1">启用</option>
				<option value="0">禁用</option>
	        </select>
	    </div>
	</div>
	<div class="row">
		<div class="col-lg-6"><button class="btn btn-primary col-sm-3 pull-right" type="submit" autocomplete="off">提交</button></div>
		<div class="col-lg-6"><button class="btn btn-default col-sm-3 pull-left" type="button" onclick="javascript:addDialog.close();" autocomplete="off">取消</button></div>
	</div>
</form>